<!-- 关于我们页面 -->
<template>
  <view v-if="shenheStatus != 1 || !shenheAliStatus" style="padding: 32rpx 24rpx">
    <u-parse :html="msg.content"></u-parse> </view
  >
  <Shenhe v-else-if="shenheStatus == 1"></Shenhe>
</template>

<script>
import Shenhe from '@/components/shenhe/shenhe';
export default {
  components: { Shenhe },
  data() {
    return {
      id: 'about_us',
      msg: '',
    };
  },
  onLoad(option) {
    if (option.id) {
      this.id = option.id;
    }
    this.getcontent();
  },
  methods: {
    getcontent() {
      var params = {
        id: this.id,
      };
      this.$allrequest.user.article_detail(params).then(res => {
        if (res.code == 0) {
          this.msg = res.data;
          uni.setNavigationBarTitle({
            title: this.msg.title,
          });
        }
      });
    },
  },
};
</script>

<style></style>
